<?php

class join_product_category extends stored_param_adaper_l_search{

    public function  get_join_line() {
        return "INNER JOIN categories_products cp ON cp.product_id=products.id";
    }
    public function  get_where_line() {
        return "cp.category_id = '".$this->get_option()."'";
    }
    public function  get_order_line() {
        return "sequence";
    }
    
}
?>